package com.couldtest;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.config.server.EnableConfigServer;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;


@EnableEurekaClient
@EnableConfigServer
@SpringBootApplication
@RestController
public class ServerConfigApplication {
	public static void main(String[] args) {
		SpringApplication.run(ServerConfigApplication.class, args);
	}

	@RequestMapping("/hello")
	public  String  hello(){
		return "hello";
	}
}
